<template>
    <div>
        <footer  >
        <span > 合 计 : {{ list.length }} <strong> </strong></span>
        <button @click="kong">清空任务</button>

       </footer>
    </div>
</template>
<script>
export default{
   props:{
    list:Array
   },
   methods:{
    kong(){
        this.$emit('Delete')
    }
   }
}
</script>
<style></style>